Auto clean machine, cliff determining method and surface type determining method

ABSTRACT

An auto clean machine comprising: a chassis; an internal light source, located inside the chassis, for emitting internal light; an external light source, located outside the chassis, for emitting external light; an optical sensor, configured to sense optical data generated according to the external light or according to the internal light; and a control circuit, configured to analyze optical information of the optical data. If the internal light source is activated, the external light source is de-activated and the control circuit determines variation of the optical information is larger than a variation threshold, the control circuit changes the internal light source to be non-activated and the external light source to be activated.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation-in-part of applicant's earlier application, Ser. No. 15/841,376, filed 2017 Dec. 14, which claims the benefit of U.S. Provisional Application No. 62/514,349, filed on 2017 Jun. 2. The contents thereof are incorporated herein by reference.

BACKGROUND OF THE INVENTION 1. Field of the Invention

The present invention relates to an auto clean machine, a cliff determining method and a surface determining method, and particularly relates to a cliff determining method and a surface determining method which can determine a surface type or a cliff.

2. Description of the Prior Art

As technology advances, an auto clean machine (e.g. a robot cleaner) becomes more and more popular. However, a conventional auto clean machine always has no proper mechanism for determining the existence of a cliff. The cliff can mean, for example, a height difference between two surfaces of different stairs.

Besides, different types of surface are suitable for different auto clean machine parameters. For example, the surface A is suitable for a stronger suction power or the dust thereon cannot be cleaned, and surface B is suitable for a weaker suction power or it may be damaged. However, the conventional auto clean machine cannot determine a surface type. The user must manually input the surface type to the conventional auto clean machine.

SUMMARY OF THE INVENTION

One objective of the present invention is to provide an auto clean machine and a cliff determining method which can determine the existence of a cliff.

Another objective is to provide an auto clean machine and a surface type determining method which can determine a surface type which the auto clean machine is provided on.

One embodiment of the present invention discloses an auto clean machine, which comprises: a chassis; an internal light source, located inside the chassis, configured to emit internal light; an external light source, located outside the chassis, configured to emit external light; an optical sensor, configured to sense optical data generated according to reflected light of the external light or according to reflected light of the internal light; and a control circuit, configured to analyze optical information of the optical data. If the internal light source is activated, the external light source is de-activated and the control circuit determines variation of the optical information is larger than a variation threshold, the control circuit changes the internal light source to be non-activated and the external light source to be activated.

In one embodiment, the control circuit determines whether a cliff exists or not according to the optical information of the optical data generated according to reflected light of the external light after the internal light source is non-activated and the external light is activated.

Another embodiment of the present invention discloses: an cliff determining method applied to an electronic device comprising an internal light source configured to emit internal light and an external light source configured to emit external light, comprising: (a) activating the internal light source and de-activating the external light; (b) changing the internal light source to be non-activated and the external light source to be activated, if variation of optical information generated according to the internal light is larger than a variation threshold; and (c) determining whether a cliff exists or not according to the optical information of the optical data generated according to reflected light of the external light, after the internal light source is non-activated and the external light is activated.

Still another embodiment of the present invention discloses: a surface type determining method applied to an electronic device comprising an internal light source configured to emit internal light, comprising: (a) activating the internal light source to emit the inter light to a surface which the electronic device is provided on; and (b) determining a type of the surface according to reflected light of the internal light. In other words, the step (a) activates the internal light source to illuminate a surface which the electronic device is detecting, and the step (b) determines a type of the surface according to the optical information generated by the electronic device based on the optical data obtained from the internal light reflected off from the surface provided.

In view of above-mentioned embodiments, the existence of a cliff and the surface and the surface type can be automatically determined based on optical data. Therefore, the user does not need to manually input related information.

These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram illustrating an auto clean machine according to one embodiment of the present invention.

FIG. 2 is a flow chart illustrating steps of determining the existence of a cliff according to one embodiment of the present invention.

FIG. 3 and FIG. 4 are schematic diagrams illustrating the auto clean machine of FIG. 1 from different perspectives.

FIG. 5 is a schematic diagram illustrating a relation between an external light power and a detectable cliff height, and a relation between an external light angle and a detectable cliff height, according to one embodiment of the present invention.

FIG. 6 is a schematic diagram illustrating the auto clean machine is moving across different types of surfaces.

FIG. 7 is a flow chart illustrating steps of determining the type of surface according to one embodiment of the present invention.

DETAILED DESCRIPTION

Several embodiments are provided to explain the concept of the present invention. Please note, each component of the embodiments can be implemented by hardware (e.g. a circuit or a device) or firmware (e.g. a processor installed with at least one program). Additionally, the terms “first”, “second” . . . in the specification only mean the components or the steps are different ones, and do not mean the sequence thereof.

FIG. 1 is a schematic diagram illustrating an auto clean machine 100 according to one embodiment of the present invention. As illustrated in FIG. 1, the auto clean machine 100 comprises a chassis 101, an optical sensor 103, a control circuit 105, an inner light source ILS and an external light source ELS.

The internal light source ILS is located inside the chassis 101, and is configured to emit internal light IL. The external light source ELS is located outside the chassis 101, and is configured to emit external light EL. In one embodiment, external light source ELS is located on a side of the chassis 101, which is perpendicular with a bottom and a top of the chassis 101. Reflected light of the external light EL is generated when the external light EL reaches the surface Sr. Similarly, reflected light of the internal light IL is generated when the internal light IL reaches the surface Sr. The surface Sr_1 can be any surface that the auto clean machine 100 can be provided on and track on, for example, a ground.

The external light source ELS can be provided to the auto clean machine 100 via various structures. For example, in one embodiment the auto clean machine 100 comprises a protruding part and the external light source ELS is provided in or on this protruding part. For another example, the external light source ELS is provided in a movable part, such that it can move into the chassis 101 if it is de-activated, and can move external to the chassis 101 if it is activated.

The optical sensor 103 is configured to sense optical data generated according to reflected light of the external light EL or according to reflected light of the internal light EL. In following embodiments, the optical sensor 103 is an image sensor and the optical data are images, but are not limited. In one embodiment, the optical sensor 103 and the inner light source ILS are provided on the same circuit board, but are not limited, too.

The control circuit 105 is configured to analyze optical information of the optical data. In one embodiment, if the auto clean machine 100 in a normal mode, which means the auto clean machine 100 normally operates to clean the surface Sr, the internal light source ILS is activated (i.e. can generate the internal light IL), and the external light source ELS is de-activated (i.e. cannot generate the external light EL). Also, when the auto clean machine 100 enters a determining mode to determine a cliff exists or not, the chassis 101 can prevent the optical sensor 103 from directly receiving the external light EL. However, the optical sensor 103 can still receive reflected light of the external light EL in the determining mode.

If the internal light source ILS is activated, the external light source ELS is de-activated and the control circuit 105 determines variation of the optical information is larger than a variation threshold, the auto clean machine 100 enters the determining mode. In the determining mode, the control circuit 105 changes the internal light source ILS to be non-activated and the external light source ELS to be activated. After that, the control circuit 105 determines whether a cliff exist or not according to the optical information of the optical data generated according to reflected light of the external light EL after entering the determining mode.

Detail contents of determining whether a cliff exists or not are illustrated as below. As above-mentioned, when the auto clean machine 100 operates in the normal mode, the internal light source ILS is activated and the external light source ELS is de-activated. Accordingly, in such case the optical sensor 103 can sense the optical data generated by reflected light of the internal light source ILS, and the control circuit 105 can calculate the variation of the optical information of the optical data. In one embodiment, the optical information comprises at least one following parameter: an image quality of images, a pixel average value of images, and an exposure time of images. For example, the optical information comprises an image quality of images and a pixel average value of images. The exposure time means a necessary time for at least one exposure value of at least one image to reach a predetermined value. For example, if the optical sensor 103 needs 1 second to expose the image to generate an image with a predetermined exposure value, the exposure time is 1 second.

The above-mentioned image quality, the pixel average value, and the exposure time may have an obvious variation when the surface which the auto clean machine 100 is located changes, since the material of the surface may be different (e.g. wood, stone, plastic . . . ) and different materials may have different abilities for absorbing light and reflecting light. Also, the image quality, the pixel average value, and the exposure time may have an obvious variation when the auto clean machine 100 approaches a cliff and none of the internal light IL or only few of the internal light IL can reach the lower surface below the cliff (e.g. the surface Sr_2 in FIG. 1). As above-mentioned, the cliff can mean a height difference between two different ones of stairs. For example, as shown in FIG. 2, the surface Sr_1 is a surface of a ground which the auto clean machine is located on, and the surface Sr_2 is a surface of a stair going down. In such case, the cliff Cli means the height difference between the surface Sr_1 and the surface Sr_2.

Therefore, if the control circuit 105 determines the optical information has an obvious variation when the auto clean machine 100 is in the normal mode, the control circuit 105 controls the auto clean machine 100 to enter the determining mode. After that, the control circuit 105 determines whether the cliff Cli exists or not according to the optical information of the optical data generated according to reflected light of the external light EL. In one embodiment, the control circuit 105 determines the cliff Cli exists if the image quality is lower than an image threshold. In another embodiment, the control circuit 105 determines the cliff Cli exists if the pixel average value is lower than a pixel threshold. In another embodiment, the control circuit 105 determines the cliff Cli exists if the exposure time is larger than an exposure time threshold.

FIG. 2 is a flow chart illustrating steps of determining the existence of a cliff according to one embodiment of the present invention, which comprises the steps of:

Step 201

Start.

Step 203

Activate the internal light source ILS and de-activate the external light source ELS.

Step 205

The auto clean machine 100 operates in the normal mode to clean a surface which the auto clean machine 100 is provided on.

Step 207

Does the control circuit 105 detect obvious variations for the optical information? If yes, go to step 209, if not, go back to normal tracking 205.

Step 209

The auto clean machine 100 is switched to the determining mode, in which the internal light source ILS is de-activated and the external light source ELS is activated.

Step 211

The control circuit 105 determines a relation between the optical information and a corresponding threshold. As above-mentioned, the optical information comprises at least one following parameter: an image quality of images, a pixel average value of images, and an exposure time of images. For example, the optical information comprises an image quality of images and a pixel average value of images.

In the embodiment of FIG. 2, the control circuit 201 determines if the image quality is lower than an image threshold and if the exposure time is larger than an exposure time threshold. If yes, go to step 213, if not, go to step 215.

Step 213

The control circuit 105 determines a cliff Cli exists.

Step 215

The control circuit 105 determines the auto clean machine 100 is still on a surface, and then goes back to the step 203.

FIG. 3 and FIG. 4 are schematic diagrams illustrating the auto clean machine of FIG. 1 from different perspectives. Based on FIG. 3 and FIG. 4, the structures of the auto clean machine 100 can be more clearly understood. FIG. 3 is a bottom view of the auto clean machine 100, which means the clean machine 100 is view in the X direction shown in FIG. 1. As illustrated in FIG. 3, the external light source ELS is in line with the optical sensor 103 with a defined distance, the arrow M means the moving direction of the auto clean machine 100, and the labels Wh_1, Wh_2, Wh_3 and Wh_4 are wheels of the auto clean machine 100. FIG. 4 is a top view of the auto clean machine 100, which means the clean machine 100 is view in the Y direction shown in FIG. 1. As illustrated in FIG. 4, the external light source ELS is in line with the optical sensor 103 with a defined distance, the arrow M means the moving direction of the auto clean machine 100, and a user can open the cover 401 to clean the auto clean machine 101.

Please note, the structures of the auto clean machine provided by the present invention are not limited to the embodiments illustrated in FIGS. 1, 3, 4. Any structure that can perform the same function should also fall in the scope of the present invention.

The angle between the chassis 101 and the emitting direction of the external light source (i.e. the angle 9 illustrated in FIG. 1) can affect the detectable cliff height. Besides, the power of the external light source ELS can affect the detectable cliff height as well. FIG. 5 is a schematic diagram illustrating a relation between an external light power and a detectable cliff height, and a relation between an external light angle and a detectable cliff height. As illustrated in FIG. 5, the Y axis of line A means the power of the external light source ELS (i.e. the light intensity of the external light EL). Also, the Y axis of line B means the angle of the external light emitting. The X axis of the line A and the X axis of the line B both mean the cliff height.

Accordingly, in view of FIG. 5, if the angle is smaller, the detectable cliff height is larger. Also, if the power of the external light source ELS is lower, the detectable cliff height is smaller. That is, the angle of the external light emitting and the power of the external light source ELS are inversely proportional to the detectable cliff height.

A cliff determining method can be acquired in view of above-mentioned embodiments. Please note such cliff determining method can be applied to any electronic device comprising an internal light source configured to emit internal light and an external light source configured to emit external light, rather than limited to an auto clean machine. The cliff determining method comprises: activating the internal light source and de-activating the external light; changing the internal light source to be non-activated and the external light source to be activated, if variation of optical information generated according to the internal light is larger than a variation threshold; and determining whether a cliff exists or not according to the optical information of the optical data generated according to reflected light of the external light, after the internal light source is non-activated and the external light is activated.

Besides determining the existence of the cliff, the above-mentioned concept can be applied to determine a surface type. As illustrated in FIG. 6, if the auto clean machine 100 moves from the surface Sr_a to the surface Sr_b in the normal mode. The optical information may have an obvious variation, since the material of the surfaces Sr_a and Sr_b may be different and different materials may have different abilities for absorbing light and reflecting light. For example, if the surface Sr_a is a wool carpet and the surface Sr_b is wood, the optical information may change a lot. In one embodiment, the optical information comprises at least one following parameter: an image quality of images, a pixel average value of images, and an exposure time of images. Besides these parameters, the maximum pixel value and the sum of pixel values can be applied to determine the surface type as well.

FIG. 7 is a flow chart illustrating steps of determining the type of surface according to one embodiment of the present invention, which comprises following steps:

Step 701

Start.

Step 703

The auto clean machine 100 operates in the normal mode.

Step 705

Determine whether the surface changes or not. For example, determine if the optical information has obvious variation. If yes, go to step 707, if not, go to step 709.

Step 707

Reset the surface type, and go to step 709.

Step 709

The surface is glossy? If yes, go to step 711, if not, go to step 717.

Step 711

The image quality is larger than a glossy threshold? If yes, go to step 715, if not, go to step 713.

Step 713

Determine the surface type is a first hard surface such as tiles.

Step 715

Determine the surface type is a second hard surface such as granite.

Step 717

The image quality is larger than a non-glossy threshold? If yes, go to step 721, if not, go to step 719.

Step 719

Determine the surface type is a third hard surface such as wood.

Step 721

Determine the surface type is a soft surface such as carpet.

After the steps 713, 715, 719 and 721, the flow is back to the step 705. It will be appreciated that the steps of determining a surface type according to the optical information is not limited to the flow illustrated in FIG. 7. Please note, in one embodiment, the optical data applied for determining the surface type is generated according to the inter light IL. Accordingly, in such case, the auto clean machine can only comprise the internal light source ILS rather than the internal light source ILS and the external light source ELS.

In view of above-mentioned embodiments, the existence of a cliff and the surface and the surface type can be automatically determined based on optical data. Therefore, the user does not need to manually input related information.

Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims. 

What is claimed is:
 1. An auto clean machine, comprising: a chassis; an internal light source, located inside the chassis, configured to emit internal light; an external light source, located outside the chassis, configured to emit external light; an optical sensor, configured to sense optical data generated according to reflected light of the external light or according to reflected light of the internal light; and a control circuit, configured to analyze optical information of the optical data; wherein if the internal light source is activated, the external light source is de-activated and the control circuit determines variation of the optical information is larger than a variation threshold, the control circuit changes the internal light source to be non-activated and the external light source to be activated.
 2. The auto clean machine of claim 1, wherein the control circuit determines whether a cliff exists or not according to the optical information of the optical data generated according to reflected light of the external light after the internal light source is non-activated and the external light is activated.
 3. The auto clean machine of claim 1, wherein the optical data comprises at least one image, and the optical information comprises an image quality of the image.
 4. The auto clean machine of claim 3, wherein the control circuit determines the cliff exists if the image quality is lower than an image threshold.
 5. The auto clean machine of claim 1, wherein the optical data comprises at least one image, and the optical information comprises a pixel average value of the image.
 6. The auto clean machine of claim 5, wherein the control circuit determines the cliff exists if the pixel average value is lower than a pixel threshold.
 7. The auto clean machine of claim 1, wherein the optical data comprises at least one image, and the optical information comprises an exposure time of the image.
 8. The auto clean machine of claim 7, wherein the control circuit determines the cliff exists if the exposure time is larger than an exposure time threshold.
 9. The auto clean machine of claim 1, wherein an angle and a location of the external light source, and a location of the optical sensor make the optical sensor can sense the reflected light of the external light but cannot directly sense the external light.
 10. The auto clean machine of claim 1, wherein the control circuit determines a type of a surface which the auto clean machine is located on according to the optical information of the optical data generated according to reflected light of the internal light.
 11. The auto clean machine of claim 10, wherein the control circuit determines the type of the surface according to an image quality of the optical data generated according to reflected light of the internal light.
 12. A cliff determining method applied to an electronic device comprising an internal light source configured to emit internal light and an external light source configured to emit external light, comprising: (a) activating the internal light source and de-activating the external light, and sensing optical data generated according to reflected light of the external light or according to reflected light of the internal light by an optical sensor in the electronic device; (a) analyzing optical information of the optical data by a control circuit in the electronic device; (c) activating changing the internal light source to be non-activated and the external light source to be activated by the control circuit, if variation of the optical information of the optical data generated according to the internal light is larger than a variation threshold; and (d) automatically determining whether a cliff exists or not according to the optical information of the optical data generated according to reflected light of the external light by the control circuit, after the internal light source is non-activated and the external light is activated.
 13. The cliff determining method of claim 12, wherein the optical data comprises at least one image, and the optical information comprises an image quality of the image.
 14. The cliff determining method of claim 13, wherein the step (d) determines the cliff exists if the image quality is lower than an image threshold.
 15. The cliff determining method of claim 12, wherein the optical data comprises at least one image, and the optical information comprises a pixel average value of the image.
 16. The cliff determining method of claim 15, wherein the step (d) determines the cliff exists if the pixel average value is lower than a pixel threshold.
 17. The cliff determining method of claim 12, wherein the optical data comprises at least one image, and the optical information comprises an exposure time of the image.
 18. The cliff determining method of claim 17, wherein the step (d) determines the cliff exists if the exposure time is larger than an exposure time threshold.
 19. The cliff determining method of claim 12, wherein the step (d) determines which type of surface the auto clean machine is located on according to the optical information of the optical data generated according to reflected light of the external light if the internal light source is activated and the external light is non-activated.
 20. A surface type determining method applied to an electronic device comprising an internal light source configured to emit internal light, comprising: (a) activating the internal light source to emit the inter light to a surface which the electronic device is provided on; and (b) automatically determining a type of the surface according to reflected light of the internal light by a control circuit in the electronic device; wherein the step (b) determines the type of the surface according to an image quality of the optical data generated according to reflected light of the internal light. 